package cn.stylefeng.guns.core.common.constant.dictmap.factory;

import cn.stylefeng.guns.core.common.constant.dictmap.base.AbstractDictMap;

public class CategoryDict extends AbstractDictMap {
    @Override
    public void init() {
        put("deptId", "类别名称");
        put("num", "类别排序");
        put("pid", "上级类别名称");
        put("simplename", "类别简称");
        put("fullname", "类别全称");
        put("tips", "备注");
    }

    @Override
    protected void initBeWrapped() {
        putFieldWrapperMethodName("deptId", "getCategoryName");
        putFieldWrapperMethodName("pid", "getCategoryName");
    }
}
